package com.lris.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor //提供所有参数的构造方法
@NoArgsConstructor//提供没有参数的构造方法
@Schema(name  = "查询好友接收参数")
public class FindUserQueryDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 起始页
     */
    @Schema(description = "起始页" ,example = "1")
    private int page;
    /**
     * 每页数量
     */
    @Schema(description = "每页数量",example = "10")
    private int pageSize;
    /**
     * 查询参数
     */
    @Schema(description = "查询条件",example = "caocao")
    private String search;
}
